
using System.Collections.Generic;
public partial class MatchSocketConst 
{
	public const int join = 1100;
	public const int start = 1101;
	public const int exit = 1102;
	public const int room_state = 1103;
	public const int ready = 1104;
	public const int finish = 1105;
	public const int return_room = 1106;
	public const int battle_result = 1107;
}


public partial class match_join_req {
    public double roleId = 0;
    
    public string name = "";
    
    public int face = 0;
    
}



public partial class match_join_ack {
    public double roomId = 0;
    
    public string error = "";
    
}



public partial class match_role_data {
    public double roleId = 0;
    
    public string name = "";
    
    public uint face = 0;
    
    public uint hp = 0;
    
    public int room_rank = 0;
    
    public int battle_rank = 0;
    
}



public partial class match_start {
    public List<match_role_data> role_list = null;
    
    public string error = "";
    
}



public partial class match_exit_req {
    public double roleId = 0;
    
    public double roomId = 0;
    
}



public partial class match_exit_ack {
    public string error = "";
    
}



public partial class match_room_state {
    public double roleId = 0;
    
    public int state = 0;
    
    public int round = 0;
    
    public uint endtime = 0;
    
}



public partial class match_ready {
    public List<Hero_put_req> heros = null;
    
}



public partial class match_ready_to_role {
    public double roomId = 0;
    
    public CROSS_BATTLE_TEAM team = null;
    
}



public partial class match_battle_role {
    public double roleId = 0;
    
    public int rank = 0;
    
    public int hp = 0;
    
}



public partial class match_battle_result {
    public int round = 0;
    
    public double roleId = 0;
    
    public List<match_battle_role> role_list = null;
    
    public CROSS_BATTLE_MOVIE mv = null;
    
    public string error = "";
    
}



public partial class match_finish {
    public double roleId = 0;
    
    public int rank = 0;
    
}



public partial class match_return_room_req {
    public double roleId = 0;
    
    public double roomId = 0;
    
}



public partial class match_return_room_ack {
    public List<match_role_data> role_list = null;
    
    public string error = "";
    
}



